package cn.com.bluemoon.daps.sync.core.sync.sql;

import cn.com.bluemoon.daps.model.entity.DapDataModelSubordinateKey;
import cn.com.bluemoon.daps.model.entity.DapDataModelTable;
import cn.com.bluemoon.daps.sync.base.BmScript;

/**
 * @author Jarod Kong
 * @date 2021-01-15 23:57
 **/
public interface IIndexSql {


    default BmScript createIndex(DapDataModelTable newT, DapDataModelSubordinateKey newI) {
        return null;
    }

    default BmScript dropIndex(DapDataModelTable oldT, DapDataModelSubordinateKey oldI) {
        return null;
    }

    default BmScript changeIndex(DapDataModelTable newT, DapDataModelSubordinateKey oldI, DapDataModelSubordinateKey newI) {
        return null;
    }

}
